package com.ws.shop.entity;

import java.util.Date;

public class Letter extends BaseEntity{
	private int id;
	private String sendname;
	private String receptionname;
	private String message;
	private int type;
	private Date addtime;
	private int state;
	
	public Letter(){}
	
	public Letter(int id, String sendname, String receptionname,
			String message, int type, Date addtime, int state) {
		this.id = id;
		this.sendname = sendname;
		this.receptionname = receptionname;
		this.message = message;
		this.type = type;
		this.addtime = addtime;
		this.state = state;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSendname() {
		return sendname;
	}
	public void setSendname(String sendname) {
		this.sendname = sendname;
	}
	public String getReceptionname() {
		return receptionname;
	}
	public void setReceptionname(String receptionname) {
		this.receptionname = receptionname;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	
}